const fs = require('fs');
const path = require('path');
let readPath = path.join(__dirname,'dir');
fs.readdir(readPath,(err, data)=>{
    if(err){
        console.log(err)
    }else{
        console.log(data);
    }
});
